package com.mva.Vehicle_DAO;

import java.util.ArrayList;

public interface VehicleIO
  {
   // Vehicle reader methods
   boolean existsVehicle (int Stck_No);
   boolean existsVehicle (String VIN);
   Vehicle getVehicle    (int Stck_No);
   Vehicle getVehicle    (String VIN);
   boolean getVehicles   (ArrayList<Vehicle> vehicles);

   // Vehicle writer methods
   boolean addVehicle    (Vehicle vehicle);
   boolean updateVehicle (Vehicle vehicle);
   boolean deleteVehicle (Vehicle vehicle);
  }
